<div style="text-align: center">
    <h1><?php echo $this->titulo?></h1>
</div>


<?php
    $form = $this->form;
    $form->prepare();

    $form->setAttributes(array(
        'action' => $this->url.'/application/admin/formularioadmin',
        'method' => 'post'
    ));

    //Get the form lebel plugin
    $formLabel = $this->plugin('formLabel');

    //Render the opening tag
    echo $this->form()->openTag($form);
?>
<br><br>

<div style="padding-left: 35%">
    <ul>
        <!---
        <li> 
            <div class="form_element"> 
                <?php
                /*    $matricula_label = $form->get('matricula_label');
                    echo $formLabel->openTag().$matricula_label->getOption('label')." ";
                    echo $this->$formLabel($matricula_label);
                    echo $this->formElementErrors($matricula_label);
                    echo $this->$formLabel->closeTag();*/                         
                ?>
            </div>
        </li><br><br>

        <li>
            <div class="form_element"> 
                <?php
                /*    $carrera_label = $form->get('carrera_label');
                    echo $formLabel->openTag().$carrera_label->getOption('label')." ";
                    echo $this->$formLabel($carrera_label);
                    echo $this->formElementErrors($carrera_label);
                    echo $this->$formLabel->closeTag();*/     
                ?>
            </div>
        </li><br><br>
        -->
        <li>
            <div class="form_element"> 
                <?php
                    $solicitud = $form->get('solicitud');
                    echo $formLabel->openTag().$solicitud->getLabel();
                    echo $formLabel->closeTag();
                    echo " ".$this->formSelect($solicitud);
                    echo $this->formElementErrors($solicitud);       
                ?>
            </div>
        </li><br><br><br>
	<?php if ($this->redactor == 'alumno') {
		 //echo $this->formHidden($form->get('id_oculto')); 
		 //echo $this->formHidden($form->get('rol_oculto')); 
		 //echo $this->formHidden($form->get('mat_oculto')); 
		 //echo $this->formHidden($form->get('carrera_oculto')); 
	}
		 echo $this->formElement($form->get('aceptar')); 
	?>
    </ul>
</div>



<?php echo $this->form()->closeTag()?>
